package HanoiTower;

public class Setting {


    public static void move(int number,char A,char B,char C){
        if(number==1){
            System.out.printf("%c->%c\n",A,C);
        }else {
            move(number-1,A,C,B);
            System.out.printf("%c->%c\n",A,C);
            move(number-1,B,A,C);
        }

    }

}
